import React from 'react'
import { Toast, NavBar } from 'react-vant'
import { ShareO } from '@react-vant/icons'
import {useNavigate} from 'react-router-dom'
import './index.css'
function index() {
    const navigate = useNavigate()
    return (
        <div>
            <NavBar
                title='样秋水-名医工作室'
                leftText='返回'
                onClickLeft={() => navigate(-1) }
                rightText={<ShareO fontSize={20} />}
                onClickRight={() => Toast('按钮')}
            />


            <div className='centerbox2' onClick={() => navigate('/advice')}>
                <img src="../src/assets/606.jpg" alt="" />
            </div>
        </div>
    )
}

export default index